/* 群组页面现代化样式 */

/* 容器样式 */
.group-container {
	height: 100vh;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	display: flex;
	flex-direction: column;
}

/* 自定义导航栏 */
.custom-navbar {
	position: relative;
	z-index: 100;
}

.nav-back {
	background: rgba(255, 255, 255, 0.1) !important;
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* 主内容区域 */
.main-content {
	flex: 1;
	padding: 20rpx;
	overflow-y: auto;
}

/* 群组信息卡片 */
.group-info-card {
	background: rgba(255, 255, 255, 0.95);
	border-radius: 24rpx;
	padding: 40rpx;
	margin-bottom: 30rpx;
	box-shadow: 0 10rpx 40rpx rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(20rpx);
	animation: fadeInUp 0.6s ease-out;
}

.card-header {
	display: flex;
	align-items: center;
	margin-bottom: 40rpx;
	padding-bottom: 20rpx;
	border-bottom: 1px solid #f0f0f0;
}

.group-icon {
	width: 60rpx;
	height: 60rpx;
	background: linear-gradient(135deg, #07c160, #029f45);
	border-radius: 16rpx;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 20rpx;
}

.group-icon text {
	color: white;
	font-size: 36rpx;
}

.group-name {
	font-size: 32rpx;
	font-weight: 600;
	color: #333;
}

/* 二维码区域 */
.qr-section {
	display: flex;
	justify-content: center;
	margin: 20rpx 0;
}

.qr-container {
	position: relative;
	display: inline-block;
	transition: transform 0.3s ease;
}

.qr-container:hover {
	transform: scale(1.05);
}

.qr-image {
	width: 400rpx;
	height: 400rpx;
	border-radius: 20rpx;
	box-shadow: 0 8rpx 24rpx rgba(0, 0, 0, 0.15);
	background: white;
	padding: 20rpx;
}

.qr-overlay {
	position: absolute;
	bottom: 20rpx;
	left: 20rpx;
	right: 20rpx;
	background: rgba(0, 0, 0, 0.7);
	color: white;
	padding: 16rpx;
	border-radius: 0 0 20rpx 20rpx;
	text-align: center;
	backdrop-filter: blur(10rpx);
}

.qr-tip {
	font-size: 24rpx;
	font-weight: 500;
}

/* 规则区域 */
.rules-section {
	background: rgba(255, 255, 255, 0.95);
	border-radius: 24rpx;
	padding: 40rpx;
	box-shadow: 0 10rpx 40rpx rgba(0, 0, 0, 0.1);
	backdrop-filter: blur(20rpx);
	animation: fadeInUp 0.8s ease-out;
}

.section-header {
	display: flex;
	align-items: center;
	margin-bottom: 30rpx;
	padding-bottom: 20rpx;
	border-bottom: 1px solid #f0f0f0;
}

.header-icon {
	width: 50rpx;
	height: 50rpx;
	background: linear-gradient(135deg, #ff6b6b, #ff8787);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-right: 20rpx;
}

.header-icon text {
	color: white;
	font-size: 28rpx;
}

.header-title {
	font-size: 30rpx;
	font-weight: 600;
	color: #333;
}

/* 规则列表 */
.rules-list {
	space-y: 20rpx;
}

.rule-item {
	display: flex;
	align-items: flex-start;
	padding: 24rpx;
	background: #f8f9fa;
	border-radius: 16rpx;
	margin-bottom: 20rpx;
	transition: all 0.3s ease;
}

.rule-item:hover {
	background: #e9ecef;
	transform: translateX(10rpx);
}

.rule-number {
	width: 40rpx;
	height: 40rpx;
	background: linear-gradient(135deg, #667eea, #764ba2);
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24rpx;
	font-weight: 600;
	margin-right: 20rpx;
	flex-shrink: 0;
}

.rule-text {
	font-size: 28rpx;
	color: #495057;
	line-height: 1.6;
	flex: 1;
}

/* 底部提示 */
.bottom-tip {
	text-align: center;
	margin-top: 40rpx;
	padding: 30rpx;
}

.tip-text {
	color: rgba(255, 255, 255, 0.8);
	font-size: 28rpx;
	font-weight: 500;
}

/* 动画效果 */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30rpx);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* 响应式设计 */
@media screen and (max-width: 375px) {
	.group-info-card,
	.rules-section {
		padding: 30rpx;
		margin-bottom: 20rpx;
	}
	
	.qr-image {
		width: 350rpx;
		height: 350rpx;
	}
}

/* 滚动条样式 */
::-webkit-scrollbar {
	width: 6rpx;
}

::-webkit-scrollbar-track {
	background: rgba(255, 255, 255, 0.1);
	border-radius: 3rpx;
}

::-webkit-scrollbar-thumb {
	background: rgba(255, 255, 255, 0.3);
	border-radius: 3rpx;
}

::-webkit-scrollbar-thumb:hover {
	background: rgba(255, 255, 255, 0.5);
}